package cn.iocoder.yudao.module.shop.controller.admin.staff.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import com.alibaba.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 店铺员工 Response VO")
@Data
@ExcelIgnoreUnannotated
public class StaffRespVO {

    @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "745")
    @ExcelProperty("id")
    private Long id;

    @Schema(description = "店铺id", requiredMode = Schema.RequiredMode.REQUIRED, example = "24374")
    @ExcelProperty("店铺id")
    private Long shopId;

    @Schema(description = "店铺身份id", example = "29937")
    @ExcelProperty("店铺身份id")
    private Long shopIdentityId;

    @Schema(description = "头衔")
    @ExcelProperty(value = "头衔", converter = DictConvert.class)
    @DictFormat("staff_identity_type") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String title;

    @Schema(description = "名字", example = "芋艿")
    @ExcelProperty("名字")
    private String name;

    @Schema(description = "头像")
    @ExcelProperty("头像")
    private String avatarImg;

    @Schema(description = "薪资")
    @ExcelProperty("薪资")
    private BigDecimal salary;

    @Schema(description = "服务")
    @ExcelProperty("服务")
    private String service;

}